From: Georges Basile Stavracas Neto Date: Fri, 29 Nov 2019 19:05:45 +0000 (-0300) Subject: unlockDialog: Line notification labels horizontally X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~777^2^2~114 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=bd0bf3d3d0b59ae34ec264cf280232824ffa95a9;p=gnome-shell.git unlockDialog: Line notification labels horizontally https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/872 --- diff --git a/js/ui/unlockDialog.js b/js/ui/unlockDialog.js index 9335e015e..1416982e3 100644 --- a/js/ui/unlockDialog.js +++ b/js/ui/unlockDialog.js @@ -75,12 +75,18 @@ var NotificationsBox = GObject.registerClass({ let sourceActor = new MessageTray.SourceActor(source, SUMMARY_ICON_SIZE); box.add_child(sourceActor); - let textBox = new St.BoxLayout({ vertical: true }); + let textBox = new St.BoxLayout({ + x_expand: true, + y_expand: true, + y_align: Clutter.ActorAlign.CENTER, + }); box.add_child(textBox); let title = new St.Label({ text: source.title, style_class: 'unlock-dialog-notification-label', + x_expand: true, + x_align: Clutter.ActorAlign.START, }); textBox.add(title);